{% extends 'Rango/base.html' %}
{% load static %}
{% block title_block %}How to Tango with Django{% endblock %}

{% block body_block %}
<h1>Add a Category</h1>

<form id="category_form" method="post" action="{% url 'Rango:add_category' %}">
    {% csrf_token %}
    {% for hidden in form.hidden_fields %}
        {{ hidden }}
    {% endfor %}
    {% for field in form.visible_fields %}
        {{ field.errors }}
        {{ field.help_text }}
        {{ field }}
    {% endfor %}
    <input type="submit" name="sumbit" value="Create Category" />
</form>
{% endblock %}